import java.util.Scanner;

public class demo02 {
    Scanner scanner = new Scanner(System.in);
    public static void yuan(double r){
        System.out.println("圆的面积为："+(Math.PI*r*r));
    }

    public static void main(String[] args) {
        yuan(2.5);
    }
}
